import request from '@/utils/request'
export default {
    getUserTotal() {
        return request({ // Promise
            url: `/system/user/total`,
            method: 'get',
        })
    },
    getArticleTotal() {
        return request({ // Promise
            url: `/acticle/acticle/total`,
            method: 'get',
        })
    },
    getQuestionTotal() {
        return request({ // Promise
            url: `/question/question/total`,
            method: 'get',
        })
    },
    getCategoryTotal() {
        return request({ // Promise
            url: `/article/article/category/total`,
            method: 'get',
        })
    },
    getMonthTotal() {
        return request({ // Promise
            url: `/article/acticle/month/total`,
            method: 'get',
        })
    },
}